home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS09.ADF
/
Progs
/
Wombat.DOC
< prev
next >
Wrap
Text File
|
1986-05-22
|
12KB
|
303 lines
the Wombat Terminal Program (version 1) Preliminary docs 02-feb-86
Copyright (C) 1986 by Dave warker
--- HELLO THERE!
This is a quicky information file which explains, though briefly,
the features of the Wombat Terminal Program (Wtp). The next version of
Wtp will (hopefully) feature a more extensive documentation file.
Some of the features of Wtp which may be of interest:
- full 80 x 24 screen. A 25th display line is reserved for statuc info.
- limited ANSI control sequence recognition. Supports enough to allow
use with VT-100 terminal option on Delphi and Compuserve. Next version
will support many more of the VT-100 functions.
- Text file data capture and transmission. Options are provided to auto-
magically convert CR/LFs to LF on receive and LFs to CR/LF on transmit.
Another options allows stripping of all control characters except CR, LF
and TABs from incoming and outgoing text files.
- XMODEM file transfer both text and binary files. The options provided
for text file capture and transmission also apply for XMODEM text file
transfers.
- Phone dialing functions.
- Load and save of current parameter settings. Optionally will auto-dial
when a new set of parameters are loaded.
- Use of speech as an alternate terminal bell.
- other stuff.
--- STUFF:
Note that the correct file size for Wtp version 1 is 29244 bytes.
--- STARTING UP 'WTP'.
Wtp must (currently) be started from the CLI. I will support the
Workbench as soon as I get ambitious enough to design an Icon for it.
(Drawing a Wombat is hard when you have no artistic ability.)
There is a single optional argument which should be the name of a
Wtp settings file created with the "Save settings" menu selection. If
supplied then those settings will be in effect when Wtp starts up.
If no arguments are supplied then Wtp looks for a default settings
file named "default.wtp", first in the current directory, then in the
directory "SYS:wtp/". The first file found is used.
If no default settings file is found Wtp will use a resonable set
of default values, resaonable for me that is. If you don't like them
you should change the settings to match your preferences then save them
as "default.wtp" someplace.
When Wtp finishes loading you will see a blank screen with a cursor
in the upper left corner. If instead you wind up back in the CLI then
Wtp could not start up for some reason, not ewnough memory or no serial
driver, etc. Unfortunately the current version does not display a message
as to the reason for the failure. The next version will.
At this point you are up and running and should peruse the menu
options to inspect/change the settings as needed.
--- LEAVING 'WTP'.
Just select 'quit' from the 'Stuff' menu. All system resources will
be returned to the OS and any open transfer files will be closed.
--- ANSI CONTROL SEQUENCES SUPPORTED:
The following control characters are supported:
HEX NAME FUNCTION
0D CR Carriage return, moves cursor to column 1 of current line.
0A LF Line feed. Moves cursor to same column of next line.
08 BS Backspace, move cursor left one character.
07 BEL Bell. What happens depends on current bell selection.
09 HT Horizontal TAB. Moves cursor to next multiple of 8 column.
1B ESC Introduces ANSI CSI and DCS sequences defined below.
0B VT Vertical TAB, treated same as LF.
0C FF Form feed, treated same as LF.
All other control characters, including rubouts (7F hex) are ignored for
display on screen.
The following ANSI sequences are recognized:
(note that CSI = 'ESC [', and DCS = 'ESC P')
SEQUENCE FUNCTION
ESC [ <row> ; <col> H Position cursor. Row and/or column may be omitted.
ESC [ <row> ; <col> f same as previous.
ESC [ <ext> J Erase in screen. 'ext' values:
0 = erase cursor to end of screen
1 = erase start of screen to cursor
2 = erase entire screen
All other CSI and DCS sequences are ignored. The next version will support
many more but I am a little too burned out right now to add them for this
version.
--- MENU SELECTIONS:
THE 'STUFF' MENU:
"About Wtp.."
Just displays a little info 'bout me, Nothing fancy.
"load settings"
Presents a requester where you can enter the name of a Wtp settings
file created with the next menu item and Wtp will change the current
settings to match those in the file. Note that if 'auto-dial' is
enabled Wtp will attempt to dial the phone number after the settings
are loaded. Future versions will provide a "Mac"ish scrolling window
of available settings files.
"save settings"
Presents a requester to specify the name of a file to which the
current settings will be written. Any name may be used but I suggest
that a ".wtp" be appended to it as future versions will auto-magically
display a list of all such files when 'loading' settings.
"quit"
Amazingly enough just quits "Wtp" and returns to the CLI. Will close
any open text capture or transmission files.
THE 'FILE' MENU: (file transfer)
"capture text to a file"
Allows you to open a new file to which all received characters will
be written. Note that the "text transfer options" effect which
characters will be written to the file. Select this menu item again
to close the capture file.
"send a text file"
Allows you to open an existing file and send it out the serial port.
Which characters are sent depends on the text transfer options.
Selecting this item again will cancel the text file send.
"XMODEM (text) send"
Will transmit a text file using the XMODEM protocol. Note that the
"text transfer options" are applied to the data. The bell is sounded
when the transfer has completed. During the transfer the "File" menu
will contain an option which will allow canceling the transfer.
Current version does not support CRC transfers but this will be added.
Any unused space in the last XMODEM record will be filled with 0s.
Also note that all XMODEM transfers automatically force XON/XOFF
handshake off and 8 data bits.
"XMODEM (text) receive"
Receives a file using XMODEM protocol. Applies the "text transfer
options" to the received data. Note that the "strip control characters"
options will cause the extra 0s appended to the last record by the
XMODEM send function to be stripped. Can be aborted via the "File"
menu.
"XMODEM (binary) send"
Send a file using XMODEM protocol. File data is transferred as is and
is not effected by the "text transfer options".
"XMODEM (binary) receive"
Receive a file using XMODEM protocol. Data is saved as received and
is not effected by the "text transfer options".
I would like to add an Amiga specific XMODEM transfer option similar
to "MacBinary" and would like to here ideas as to what people would
like to see in it.
"Text transfer options..."
Allows changes several options which apply to text transfers:
"LFs <--> CR/LFs"
When checked causes received CRs to be thrown away and appends
CRs before any LFs transmitted.
"strip control chars"
Causes any control characters other than CR, LF and TAB to be
thrown away on both send and receive. This includes NULs (0)
and DELs (7F hex).
THE 'PORT' MENU: (serial port settings)
"Baud rate"
Submenu allows changing the current transmission speed. You probably
need XON/XOFF handshaking for the higher speeds (9600 & 19200).
"Character format"
Allows selection of the character size and parity mode. The default
setting is "8 data bits/no parity" which is the most common.
"Stop bits"
Can select 1 or 2 stop bits. Generally not important but provided
for completeness. Note that the serial port driver does not support
2 stop bits with 8 data bits but I allow its selection anyway. I
suspect you will actually get 1 stop bit.
"XON/XOFF handshake"
A common handshaking method which sends a CONTROL-S when the receiver
is falling behind and a CONTROL-Q when it has caught up. This option
applies to both sent and received data but does NOT apply to XMODEM
transfers as CONTROL-S and CONTROL-Q are valid data characters. You
can leave this option on in any case and XMODEM transfers internally
turn it off for the duration of the transfer.
THE 'SCREEN' MENU:
"cursor wrap at EOL"
When checked causes the cursor to wrap to the next line when it hits
the right edge of the screen. Will also cause the cursor to wrap to
the previous line when you backspace past the left screen edge.
If this option is off the cursor will be pinned to the left and right
screen edges. I found that turning cursor wrap off on Delphi prevents
problems with lines of exactly 80 characters (the VT-100 treats column
80 specially so it does not have this problem.)
"local echo"
When checked causes all data entered at the keyboard (and also send
from a text file) to be displayed on the screen. This normally only
usefull for talking terminal to terminal as Delphi's or Compuserve's
computers normally handle the echoing of keys. The normal setting
for this option is OFF.
"Cursor style..."
Allows selection of either a box or underline cursor. Unfortunately
the blinking cursor option is not implemented in this version but
will be in the next.
"Bell type..."
Selects which type of bell to use.
The 'visual' bell is the good ol' screen flash bell. The 'beep' bell
will be an audio tone but is not implemented in this version because
it is more trouble than it is worth. The (infamous) next version
will have this feature supported. The 'speech' bell uses the
narrator device to provide spoken text for bell functions. Note
that the 'narrator.device' file must be present in the DEVS
directory to use this option.
"clear screen"
Clears the screen and homes the cursor. Provided as a convienience
feature.
THE 'DIALING' MENU:
"(no title)"
This menu item displays the name you have assigned to the current
settings. Selecting this item allows you to change the name. If
a blank name is entered it is displayed as "(no title)". You can
use this to label the intended use for these settings like:
"Delphi via Uninet".
"(no number)"
This item displays the current phone number string. This string
will be send to the (HAYES compatible) modem during dialing and
should be the actual phone number. If no phone number has been
specified this item is displayed as "(no number)" and dialing
functions are disabled.
"auto-dial when loaded"
If this item is checked in a setting file then Wtp will automatically
dial the current phone number whenever the file is loaded. This
option is disabled if no phone number has been specified.
"dial number now"
Initiates dialing of the current phone number. Will first hangup
the phone in case a call is already in progress and then will dial
the number. Assumes the presence of a HAYES compatible external
modem on the serial port. The dialing string consists of:
"ATDT <phone number string>"<CR>
"hang up the phone"
Terminates the current phone call. Assumes a HAYES compatible
modem on the serial port. The sequence sent is:
<pause 3 seconds>
"+++"
<pause 3 seconds>
"ATH"<CR>
<pause 1 second>
--- THAT'S ALL FILK!
Hopefully you have enough info to use and enjoy Wtp. If you have any
problems or suggestions for improvement just send me mail on Delphi
or Compuserve. So long and lets make the Amiga the best machine
around!
Dave Warker
Delphi: DAVEWARKER
Compuserve: 70406,626